package com.bayss.core.enums;

/**
 * 统计类型(key)
 * @author ldl
 */
public enum StatisticalType {
    SALE_AMOUNT("sale_amount", "销售金额"),
    PAYMENT_COUNT("payment_count", "支付笔数"),
    ORDER_COUNT("order_count", "订单数"),

    ;

    private String key;
    private String desc;

    StatisticalType(String key, String desc) {
        this.key = key;
        this.desc = desc;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
